package sunsite.po;

import java.util.Date;

/***********************************************************************
 * Module:  Usr.java
 * Author:  mg
 * Purpose: Defines the Class Usr
 ***********************************************************************/

/** @pdOid 5f251126-2887-46f3-9464-806dda26b68c */
public class Usr {
   /** @pdOid 05544404-333c-435a-bed5-39290838d665 */
   private java.lang.String userId;//表Id
   /** @pdOid db78cf59-1e36-4baa-b96b-92eaf775e607 */
   private java.lang.String fullName;//用户姓名
   /** @pdOid e42424ec-a070-4879-beb3-74892146fa0d */
   private java.lang.String email;
   /** @pdOid 9808cb1b-e46d-4f6b-a991-05bc74e2e65e */
   private java.lang.String password;
   /** @pdOid 0e4481d0-9392-4fa7-8382-7a1060794e01 */
   private java.lang.String userName;//用户的唯一标识符
   /** @pdOid 955e57f8-fd15-4972-845e-0616743ceca8 */
   private java.lang.String phone;
   /** @pdOid 444e4bd7-b9bf-465c-92cf-7adcacfb39fc */
   private java.lang.String major;
   /** @pdOid 9e9244d0-46b7-4347-9b24-93c9af494540 */
   private java.lang.String degree;
   /** @pdOid 7cda60eb-4cfd-42fb-af79-476750636725 */
   private java.lang.String grade;
   /** @pdOid e1070dce-8584-4633-95d7-b7c516e972bf */
   private java.util.Date registTime;
   /** @pdOid ee3738f7-8a2d-47d7-873f-0e4d3ac0c68b */
   private java.util.Date lastLogin;
   /** @pdOid 684c74b6-ffd4-42ba-8ab1-8d8b22f21259 */
   private int loginCount;
   /** @pdOid 5f551fbc-2410-424a-af92-49af6b90b860 */
   private int status;
   
   public static final int ValidateStatus = 1;
   public static final int InvalidateStatus = 0;
   public static final int InvalidateAndGroupStatus = 2;
   public static final int DefaultStatus = ValidateStatus;
   
   private Sai sai;
   /** @pdRoleInfo migr=no name=Role assc=userRole mult=0..1 side=A */
   private Role role;
   /** @pdRoleInfo migr=no name=University assc=usrUniversity mult=0..1 side=A */
   private University university;

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public Date getLastLogin() {
        return lastLogin;
    }

    public void setLastLogin(Date lastLogin) {
        this.lastLogin = lastLogin;
    }

    public int getLoginCount() {
        return loginCount;
    }

    public void setLoginCount(int loginCount) {
        this.loginCount = loginCount;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getRegistTime() {
        return registTime;
    }

    public void setRegistTime(Date registTime) {
        this.registTime = registTime;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public Sai getSai() {
        return sai;
    }

    public void setSai(Sai sai) {
        this.sai = sai;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public University getUniversity() {
        return university;
    }

    public void setUniversity(University university) {
        this.university = university;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public java.lang.String getUserName() {
        return userName;
    }

    public void setUserName(java.lang.String userName) {
        this.userName = userName;
    }

    public java.lang.String getFullName() {
        return fullName;
    }

    public void setFullName(java.lang.String fullName) {
        this.fullName = fullName;
    }
}
